package com.cty.util;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类
 *
 * @author : cty
 * @since 2023/11/19
 */

@Slf4j
@SpringBootApplication
public class UtilApplication {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();
        log.info("**************** 服务启动开始 ****************");
        SpringApplication.run(UtilApplication.class, args);
        long endTime = System.currentTimeMillis();
        log.info("**************** 服务启动完成，共计耗时 {}ms ****************" + System.getProperty("line.separator"), endTime - startTime);
    }

}
